<?php
if(isPost()){
	$db=getDB();
    if($db->insertTable('t_page',$_POST)){
    	header("Location: ?ac=page");die();
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="base.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form action="?ac=addpage" method="post">
<table  border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td>页面名字</td>
    <td><input type="text" name="Fname" id="Fname" /></td>
  </tr>
  <tr>
    <td>页面地址</td>
    <td><input type="text" name="Fpage" id="Fpage" /></td>
  </tr>
  <tr>
    <td>页面title</td>
    <td><input type="text" name="Ftitle" id="Ftitle" /></td>
  </tr>
  <tr>
    <td>页面keys</td>
    <td><label>
      <textarea name="Fkeys" id="Fkeys"></textarea>
    </label></td>
  </tr>
  <tr>
    <td>页面seo</td>
    <td><textarea name="Fdesc" id="Fdesc"></textarea></td>
  </tr>
  <tr>
    <td>页面描述</td>
    <td><textarea name="Fintroduce" id="Fintroduce"></textarea></td>
  </tr>
  
  <tr>
    <td><input type="submit"  id="button" value="提交" /></td>
    <td>&nbsp;</td>
  </tr>
</table>

</form>

</body>
</html>
